<%@ include file="/framework/purehead.jsp"%>
<%@ page contentType="text/html;charset=UTF-8"%> 
<%
ObjectList tList = MenuInfo.fetchbyParentCode(con);
ObjectList tSubList = MenuInfo.fetchSubs(con);
%>
<html>
<head>
<LINK href="<%=Config.getWebPath()%>/css/css.css" rel="stylesheet" type="text/css">
<script language="JavaScript1.2">
    function control(cout,value){
        var temp
        for(var i=1; i<=cout; i++){
            if(i==value){
                temp = "Pan" + value;           
                eval("parent.menu.document.all." +temp+".style.display='block'");
            }else{
                temp = "Pan" + i;
                eval("parent.menu.document.all."+ temp+ ".style.display='none'");
            }
        }
    }
    
    function setIndex(){
        parent.main.location.href="mainterse.jsp";
        return false;
    }
    
    function setFont(cout,value){
        var temp ;
        var iCount = parseInt(cout);
        for(i=1; i<=parseInt(cout);i++){
            if(i==value){
                temp = "h"+value;
                eval("document.all." + temp + ".color='#CC0000'");
            }else{  
                temp = "h"+i;
                eval("document.all." + temp + ".color='#CEECFF';");
            }
        }
    }
    function doLogout()
    {
        if (confirm("确定要退出吗?"))
        {
            document.all("action_code").value = "logout";
            frm.submit();
        }
    }
    function setSutra(){
        document.all("action_code").value = "sutra";
        frm.submit();
    }
</script>
</head>
<body>
<form id=frm action="<%=Config.getSrv()%>" method="post" target="_top">
<input type=hidden name="action_code" value="">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td background="<%=Config.getWebPath()%>/images/title11.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="39%"><img src="<%=Config.getWebPath()%>/images/t1.jpg" width="443" height="64"></td>
          <td width="25%">&nbsp;</td>
          <td width="36%"><br>
            <table width="400" border="0" align="right" cellpadding="0" cellspacing="0">
              <tr class="css1"> 
                <td width="30%">您好：<%=loginInfo.getLoginUserName()%></td>
                <td width="70%" class="linkwhite" align="center"><img src="<%=Config.getWebPath()%>/images/backindex.png" border="0"  onclick="setIndex();return false;" style="cursor: pointer;">&nbsp; <%if(LoginContext.get(new SrvContext(request,response)).isView()){ %><img src="<%=Config.getWebPath()%>/images/sutraview.png" border="0"  onclick="setSutra();return false;" style="cursor: pointer;"><%} %>&nbsp; <img src="<%=Config.getWebPath()%>/images/exit.png" border="0"  onclick="doLogout();return false;" style="cursor: pointer;"></td>
              </tr>
            </table>
            <div align="right"></div></td>
        </tr>
      </table></td>
  </tr>
</table>
</form>
</body>
</html>
<%@ include file="/framework/purefoot.jsp"%>
